home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tools / packer / zoo / parse.h < prev    next >
C/C++ Source or Header  |  1995-03-09  |  626b  |  28 lines

  1. /* @(#) parse.h 2.1 87/12/25 12:24:15 */
  2.  
  3. /*
  4. The contents of this file are hereby released to the public domain.
  5.  
  6.                                     -- Rahul Dhesi 1986/11/14
  7. */
  8.  
  9. /*
  10. defines structure used in call to parse()
  11. */
  12. #define XTRA  2            /* extra space to avoid off-by-one errors */
  13.  
  14.  
  15. struct path_st {
  16.     char drive[2+1+XTRA];                /* drive name                 */
  17.     char dir[PATHSIZE+1+XTRA];         /* path prefix              */
  18.     char fname[8+1+XTRA];                /* root name of filename */
  19.     char lfname[LFNAMESIZE+1+XTRA];    /* long filename      */
  20.     char ext[EXTLEN+1+XTRA];            /* extension          */
  21. };
  22.  
  23. #ifdef ANSI_PROTO
  24. void parse (struct path_st *, char *);
  25. #else
  26. void parse();
  27. #endif
  28.